package com.chazaqdev.meatbagsorter

class PhotoTagLib {
	static namespace = 'mbs'
	def original = { attrs, body ->
		out << "<img src=\"${attrs.savePath}/${attrs.photoID}_orig.jpeg\" "
		out << "alt=\"${attrs.photoID} photo\"></img>"
	}
	
	def thumb600 = { attrs, body ->
		out << "<img src=\"${attrs.savePath}/${attrs.photoID}_600.jpeg\" "
		out << "alt=\"${attrs.photoID} photo\"></img>"
	}
	
	def thumb100 = { attrs, body ->
		out << "<img src=\"${attrs.savePath}/${attrs.photoID}_100.jpeg\" "
		out << "alt=\"${attrs.photoID} photo\"></img>"
		
	}

}
